home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14947 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 6f | 63 2e 6e 65 74 63 6f 6d |Path: no|c.netcom|
|00000010| 2e 6e 65 74 21 6e 65 77 | 73 0a 46 72 6f 6d 3a 20 |.net!new|s.From: |
|00000020| 54 61 72 61 6e 67 20 44 | 65 73 68 70 61 6e 64 65 |Tarang D|eshpande|
|00000030| 20 3c 74 61 72 61 6e 67 | 40 77 69 6c 6c 6f 77 73 | <tarang|@willows|
|00000040| 2e 63 6f 6d 3e 0a 4e 65 | 77 73 67 72 6f 75 70 73 |.com>.Ne|wsgroups|
|00000050| 3a 20 63 6f 6d 70 2e 6c | 61 6e 67 2e 63 0a 53 75 |: comp.l|ang.c.Su|
|00000060| 62 6a 65 63 74 3a 20 52 | 65 3a 20 62 69 67 20 65 |bject: R|e: big e|
|00000070| 6e 64 69 61 6e 2c 20 6c | 69 74 74 6c 65 20 65 6e |ndian, l|ittle en|
|00000080| 64 69 61 6e 0a 44 61 74 | 65 3a 20 4d 6f 6e 2c 20 |dian.Dat|e: Mon, |
|00000090| 31 35 20 41 70 72 20 31 | 39 39 36 20 31 34 3a 33 |15 Apr 1|996 14:3|
|000000a0| 38 3a 34 39 20 2d 30 37 | 30 30 0a 4f 72 67 61 6e |8:49 -07|00.Organ|
|000000b0| 69 7a 61 74 69 6f 6e 3a | 20 4e 45 54 43 4f 4d 20 |ization:| NETCOM |
|000000c0| 4e 65 74 77 6f 72 6b 20 | 4f 70 65 72 61 74 69 6f |Network |Operatio|
|000000d0| 6e 73 0a 4d 65 73 73 61 | 67 65 2d 49 44 3a 20 3c |ns.Messa|ge-ID: <|
|000000e0| 33 31 37 32 43 31 45 39 | 2e 33 45 39 35 40 77 69 |3172C1E9|.3E95@wi|
|000000f0| 6c 6c 6f 77 73 2e 63 6f | 6d 3e 0a 52 65 66 65 72 |llows.co|m>.Refer|
|00000100| 65 6e 63 65 73 3a 20 3c | 34 6b 75 39 64 6d 24 74 |ences: <|4ku9dm$t|
|00000110| 31 74 40 6e 65 77 73 2e | 79 63 63 2e 79 61 6c 65 |1t@news.|ycc.yale|
|00000120| 2e 65 64 75 3e 0a 4e 4e | 54 50 2d 50 6f 73 74 69 |.edu>.NN|TP-Posti|
|00000130| 6e 67 2d 48 6f 73 74 3a | 20 64 61 66 66 79 2e 77 |ng-Host:| daffy.w|
|00000140| 69 6c 6c 6f 77 73 2e 63 | 6f 6d 0a 4d 69 6d 65 2d |illows.c|om.Mime-|
|00000150| 56 65 72 73 69 6f 6e 3a | 20 31 2e 30 0a 43 6f 6e |Version:| 1.0.Con|
|00000160| 74 65 6e 74 2d 54 79 70 | 65 3a 20 74 65 78 74 2f |tent-Typ|e: text/|
|00000170| 70 6c 61 69 6e 3b 20 63 | 68 61 72 73 65 74 3d 75 |plain; c|harset=u|
|00000180| 73 2d 61 73 63 69 69 0a | 43 6f 6e 74 65 6e 74 2d |s-ascii.|Content-|
|00000190| 54 72 61 6e 73 66 65 72 | 2d 45 6e 63 6f 64 69 6e |Transfer|-Encodin|
|000001a0| 67 3a 20 37 62 69 74 0a | 58 2d 4d 61 69 6c 65 72 |g: 7bit.|X-Mailer|
|000001b0| 3a 20 4d 6f 7a 69 6c 6c | 61 20 32 2e 30 47 6f 6c |: Mozill|a 2.0Gol|
|000001c0| 64 42 32 20 28 57 69 6e | 39 35 3b 20 49 29 0a 54 |dB2 (Win|95; I).T|
|000001d0| 6f 3a 20 72 6d 75 72 70 | 68 79 20 3c 72 6d 75 72 |o: rmurp|hy <rmur|
|000001e0| 70 68 79 40 6d 69 6e 65 | 72 76 61 2e 63 69 73 2e |phy@mine|rva.cis.|
|000001f0| 79 61 6c 65 2e 65 64 75 | 3e 0a 0a 72 6d 75 72 70 |yale.edu|>..rmurp|
|00000200| 68 79 20 77 72 6f 74 65 | 3a 0a 3e 20 0a 3e 20 48 |hy wrote|:.> .> H|
|00000210| 69 2e 20 20 49 27 6d 20 | 61 20 67 72 61 64 75 61 |i. I'm |a gradua|
|00000220| 74 65 20 73 74 75 64 65 | 6e 74 20 64 6f 69 6e 67 |te stude|nt doing|
|00000230| 20 72 65 73 65 61 72 63 | 68 20 69 6e 20 63 6f 6d | researc|h in com|
|00000240| 70 75 74 65 72 20 6d 75 | 73 69 63 2c 20 61 6e 64 |puter mu|sic, and|
|00000250| 20 69 0a 3e 20 68 61 76 | 65 20 61 20 73 6d 61 6c | i.> hav|e a smal|
|00000260| 6c 20 74 65 63 68 20 71 | 75 65 73 74 69 6f 6e 20 |l tech q|uestion |
|00000270| 49 20 63 61 6e 27 74 20 | 73 65 65 6d 20 74 6f 20 |I can't |seem to |
|00000280| 67 65 74 20 61 6e 73 77 | 65 72 65 64 20 69 6e 20 |get answ|ered in |
|00000290| 74 68 65 20 63 0a 3e 20 | 72 65 66 65 72 65 6e 63 |the c.> |referenc|
|000002a0| 65 20 62 6f 6f 6b 73 2e | 20 20 57 68 61 74 20 69 |e books.| What i|
|000002b0| 73 20 74 68 65 20 64 69 | 66 66 65 72 65 6e 63 65 |s the di|fference|
|000002c0| 20 62 65 74 77 65 65 6e | 20 62 69 67 2d 65 6e 64 | between| big-end|
|000002d0| 69 61 6e 20 61 6e 64 0a | 3e 20 6c 69 74 74 6c 65 |ian and.|> little|
|000002e0| 2d 65 6e 64 69 61 6e 3f | 20 20 49 20 6b 6e 6f 77 |-endian?| I know|
|000002f0| 20 69 74 20 72 65 6c 61 | 74 65 73 20 73 6f 6d 65 | it rela|tes some|
|00000300| 68 6f 77 20 74 6f 20 73 | 69 67 6e 65 64 2f 75 6e |how to s|igned/un|
|00000310| 73 69 67 6e 65 64 20 69 | 6e 74 65 67 65 72 73 2c |signed i|ntegers,|
|00000320| 0a 3e 20 61 6e 64 20 74 | 68 65 20 64 69 76 69 73 |.> and t|he divis|
|00000330| 69 6f 6e 20 62 65 74 77 | 65 65 6e 20 69 62 6d 20 |ion betw|een ibm |
|00000340| 26 20 36 38 6b 2d 62 61 | 73 65 64 20 70 6c 61 74 |& 68k-ba|sed plat|
|00000350| 66 6f 72 6d 73 2c 20 62 | 75 74 20 68 61 76 65 20 |forms, b|ut have |
|00000360| 6e 6f 20 63 6c 75 65 0a | 3e 20 62 65 79 6f 6e 64 |no clue.|> beyond|
|00000370| 20 74 68 61 74 2e 20 20 | 54 68 61 6e 6b 73 2e 0a | that. |Thanks..|
|00000380| 3e 20 72 6d 75 72 70 68 | 79 40 6d 69 6e 65 72 76 |> rmurph|y@minerv|
|00000390| 61 2e 63 69 73 2e 79 61 | 6c 65 2e 65 64 75 0a 0a |a.cis.ya|le.edu..|
|000003a0| 0a 41 63 74 75 61 6c 6c | 79 20 69 74 20 68 61 73 |.Actuall|y it has|
|000003b0| 20 6e 6f 74 68 69 6e 67 | 20 74 6f 20 77 69 74 68 | nothing| to with|
|000003c0| 20 73 69 67 6e 65 64 2f | 75 6e 73 69 67 6e 65 64 | signed/|unsigned|
|000003d0| 20 69 6e 74 65 67 65 72 | 20 72 61 74 68 65 72 20 | integer| rather |
|000003e0| 69 74 20 68 61 73 20 74 | 6f 0a 64 6f 20 77 69 74 |it has t|o.do wit|
|000003f0| 68 20 68 6f 77 20 69 6e | 74 65 67 65 72 73 20 61 |h how in|tegers a|
|00000400| 72 65 20 72 65 70 72 65 | 73 65 6e 74 65 64 20 69 |re repre|sented i|
|00000410| 6e 20 6d 65 6d 6f 72 79 | 20 6f 6e 20 64 69 66 66 |n memory| on diff|
|00000420| 65 72 65 6e 74 20 70 6c | 61 74 66 6f 72 6d 73 2e |erent pl|atforms.|
|00000430| 0a 49 6e 20 74 68 65 20 | 72 65 70 72 65 73 65 6e |.In the |represen|
|00000440| 74 61 74 69 6f 6e 20 6f | 66 20 61 20 74 77 6f 20 |tation o|f a two |
|00000450| 62 79 74 65 20 69 6e 74 | 65 67 65 72 20 74 68 65 |byte int|eger the|
|00000460| 20 71 75 65 73 74 69 6f | 6e 20 62 65 63 6f 6d 65 | questio|n become|
|00000470| 73 20 69 73 20 74 68 65 | 0a 68 69 67 68 20 62 79 |s is the|.high by|
|00000480| 74 65 20 6f 72 20 74 68 | 65 20 6c 6f 77 20 62 79 |te or th|e low by|
|00000490| 74 65 20 61 74 20 74 68 | 65 20 6c 6f 77 65 72 20 |te at th|e lower |
|000004a0| 6f 72 20 68 69 67 68 65 | 72 20 61 64 64 72 65 73 |or highe|r addres|
|000004b0| 73 2e 20 20 49 66 20 74 | 68 65 20 0a 6c 6f 77 20 |s. If t|he .low |
|000004c0| 62 79 74 65 20 69 73 20 | 61 74 20 74 68 65 20 6c |byte is |at the l|
|000004d0| 6f 77 65 72 20 61 64 64 | 72 65 73 73 20 74 68 65 |ower add|ress the|
|000004e0| 6e 20 69 74 20 75 73 65 | 73 20 6c 69 74 74 6c 65 |n it use|s little|
|000004f0| 20 65 6e 64 69 61 6e 20 | 77 68 65 72 65 61 73 20 | endian |whereas |
|00000500| 69 66 0a 74 68 65 20 68 | 69 67 68 20 62 79 74 65 |if.the h|igh byte|
|00000510| 20 69 73 20 61 74 20 74 | 68 65 20 6c 6f 77 65 72 | is at t|he lower|
|00000520| 20 61 64 64 72 65 73 73 | 20 74 68 65 6e 20 69 74 | address| then it|
|00000530| 20 75 73 65 64 20 62 69 | 67 20 65 6e 64 69 61 6e | used bi|g endian|
|00000540| 2e 0a 0a 53 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 |...So th|e number|
|00000550| 20 32 35 36 20 77 68 69 | 63 68 20 69 73 20 30 30 | 256 whi|ch is 00|
|00000560| 30 30 30 30 30 31 30 30 | 30 30 30 30 30 30 20 69 |00000100|000000 i|
|00000570| 6e 20 62 69 6e 61 72 79 | 20 63 61 6e 20 62 65 20 |n binary| can be |
|00000580| 74 68 6f 75 67 68 74 20 | 6f 66 66 0a 61 73 20 30 |thought |off.as 0|
|00000590| 30 30 30 30 30 30 31 20 | 2a 20 32 35 36 20 2b 20 |0000001 |* 256 + |
|000005a0| 30 30 30 30 30 30 30 30 | 20 77 68 65 72 65 20 74 |00000000| where t|
|000005b0| 68 65 20 30 30 30 30 30 | 30 30 31 20 69 73 20 74 |he 00000|001 is t|
|000005c0| 68 65 20 68 69 67 68 20 | 62 79 74 65 20 61 6e 64 |he high |byte and|
|000005d0| 0a 30 30 30 30 30 30 30 | 30 20 69 73 20 74 68 65 |.0000000|0 is the|
|000005e0| 20 6c 6f 77 20 62 79 74 | 65 2e 20 20 4f 6e 20 61 | low byt|e. On a|
|000005f0| 20 6c 69 74 74 6c 65 20 | 65 6e 64 69 61 6e 20 70 | little |endian p|
|00000600| 6c 61 74 66 6f 72 6d 20 | 6d 65 6d 6f 72 79 20 77 |latform |memory w|
|00000610| 6f 75 6c 64 20 6c 6f 6f | 6b 0a 6c 69 6b 65 20 30 |ould loo|k.like 0|
|00000620| 30 30 30 30 30 30 30 30 | 30 30 30 30 30 30 31 20 |00000000|0000001 |
|00000630| 77 68 65 72 65 61 73 20 | 6f 6e 20 61 20 62 69 67 |whereas |on a big|
|00000640| 20 65 6e 64 69 61 6e 20 | 70 6c 61 74 66 6f 72 6d | endian |platform|
|00000650| 20 6d 65 6d 6f 72 79 20 | 77 6f 75 6c 64 20 6c 6f | memory |would lo|
|00000660| 6f 6b 0a 6c 69 6b 65 20 | 30 30 30 30 30 30 30 31 |ok.like |00000001|
|00000670| 30 30 30 30 30 30 30 30 | 2e 20 20 0a 0a 54 61 72 |00000000|. ..Tar|
|00000680| 61 6e 67 0a | |ang. | |
+--------+-------------------------+-------------------------+--------+--------+